'use strict';

module.exports = app => {
	const {INTEGER,STRING}=app.Sequelize;

	const DeviceTypeManage=app.model.define('deviceTypeManage',{
		id:{type:INTEGER,primaryKey:true},
		merchant_id:{type:INTEGER},
		deviceModel_id:{type:INTEGER},
		deviceType_id:{type:INTEGER},
		name:{type:STRING(64)},
		market_name:{type:STRING(64)},
		encoding:{type:STRING(64)},
		imei_tac:{type:STRING(64)},
		file_id:{type:INTEGER},
		is_local:{type:INTEGER},
		number:{type:INTEGER},
		remark:{type:STRING(255)},
		status:{type:INTEGER},
		create_time:{type:INTEGER},
		update_time:{type:INTEGER}});
	return DeviceTypeManage;
};